home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 7348 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  549 b 

  1. Path: news.bu.edu!lachesis
  2. From: lachesis@cs.bu.edu (wai yip)
  3. Newsgroups: comp.lang.c
  4. Subject: pointers
  5. Date: 25 Feb 1996 20:36:32 GMT
  6. Organization: Computer Science Department, Boston University, Boston, MA, USA
  7. Message-ID: <4gqh8g$bo4@news.bu.edu>
  8. NNTP-Posting-Host: csa.bu.edu
  9. X-Newsreader: TIN [version 1.2 PL2]
  10.  
  11. can someone who knows a lot about pointers help me with this
  12.  
  13. int i=3,*p;
  14.  
  15. with the above declaration, what would the bottom lines do?
  16. *p=&i;
  17. p=i;
  18. *p=i;
  19. p=&i;
  20.  
  21. please answer me through email because i don't usually read newsgroups.
  22.